package com.heima.apis.search;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.search.dtos.HistorySearchDto;
import com.heima.model.search.dtos.UserSearchDto;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(tags = "用户查询")
public interface ApUserSearchControllerApi {


    /**
     * 查询搜索历史
     * @param userSearchDto
     * @return
     */
    @ApiOperation("查询搜索历史接口")
    public ResponseResult findUserSearch(UserSearchDto userSearchDto);

    /**
     * 删除搜索历史
     * @param dto
     * @return
     */
    @ApiOperation("删除搜索历史接口")
    public ResponseResult delUserSearch(HistorySearchDto dto) ;

}